home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / p_man / cat3 / f90 / lbound.z / lbound
Encoding:
Text File  |  1998-10-30  |  2.4 KB  |  56 lines

  1. LBOUND(3I)                                             Last changed: 1-6-98
  2.  
  3.  
  4. NNAAMMEE
  5.      LLBBOOUUNNDD - Returns all the lower bounds or a specified lower bound of an
  6.      array
  7.  
  8. SSYYNNOOPPSSIISS
  9.      LLBBOOUUNNDD (([AARRRRAAYY==]_a_r_r_a_y [,,[DDIIMM==]_d_i_m]))
  10.  
  11. IIMMPPLLEEMMEENNTTAATTIIOONN
  12.      UNICOS, UNICOS/mk, and IRIX systems
  13.  
  14. SSTTAANNDDAARRDDSS
  15.      Fortran 90
  16.  
  17. DDEESSCCRRIIPPTTIIOONN
  18.      The LLBBOOUUNNDD intrinsic function returns all the lower bounds or a
  19.      specified lower bound of an array.  It accepts the following
  20.      arguments:
  21.  
  22.      _a_r_r_a_y     May be of any type.  It must not be scalar.  It must not be
  23.                a pointer that is disassociated or an allocatable array that
  24.                is not allocated.
  25.  
  26.      _d_i_m       Must be scalar and of type integer with a value in the range
  27.                1 <= _d_i_m <= _n, where _n is the rank of _a_r_r_a_y.  The
  28.                corresponding actual argument must not be an optional dummy
  29.                argument.
  30.  
  31.      LLBBOOUUNNDD is an inquiry function.  The name of this intrinsic cannot be
  32.      passed as an argument.
  33.  
  34. RREETTUURRNN VVAALLUUEESS
  35.      The result is of type default integer.  It is scalar if _d_i_m is
  36.      present; otherwise, the result is an array of rank 1 and size _n, where
  37.      _n is the rank of _a_r_r_a_y.
  38.  
  39.      For an array section or for an array expression, other than a whole
  40.      array or array structure component, LLBBOOUUNNDD (_a_r_r_a_y, _d_i_m) has the value
  41.      1; otherwise, it has a value equal to the lower bound for subscript
  42.      _d_i_m of _a_r_r_a_y if dimension _d_i_m of _a_r_r_a_y does not have size 0 and has
  43.      the value 1 if dimension _d_i_m has size 0.
  44.  
  45.      LLBBOOUUNNDD (_a_r_r_a_y) has a value whose _ith component is equal to LLBBOOUUNNDD
  46.      (_a_r_r_a_y, _i), for _i = 1, 2, ..., _n, where _n is the rank of _a_r_r_a_y.
  47.  
  48. EEXXAAMMPPLLEESS
  49.      If AA is declared by the statement RREEAALL AA((22::33,, 77::1100)), LLBBOOUUNNDD((AA)) is
  50.      [2,7] and LLBBOOUUNNDD((AA,,DDIIMM==22)) is 7.
  51.  
  52. SSEEEE AALLSSOO
  53.      _I_n_t_r_i_n_s_i_c _P_r_o_c_e_d_u_r_e_s _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication SR-2138, for the
  54.      printed version of this man page.
  55.  
  56.